<template>
  <t-drawer :visible="visible" @close="$emit('close')" title="标题">
    xxxxxxxxxxxxx
  </t-drawer>
</template>

<script>
export default {
  props: {
    visible: {
      type: Boolean,
      default() {
        return false
      }
    }
  },
  data() {
    return {}
  },
  methods: {},
  mounted() {
    console.log(this.visible)
  }
}
</script>

<style lang="less" scoped>

</style>